#ifndef __DOCK_LAYOUT_H__
#define __DOCK_LAYOUT_H__

#include "gofgame/common/cxx_0x.h"
#include "gofgame/common/ui/Layout.h"
using namespace gofgame::common::ui;

namespace gofgame {
	namespace common {
		namespace ui {
			class DockLayout : public Layout {
			public:
				DockLayout(float spacing = 0);

				float getSpacing() const;
				virtual void setSpacing(float spacing);

			protected:
				virtual void onLayout() _override;

			private:
				float spacing;
			};
		}
	}
}

#endif //__DOCK_LAYOUT_H__
